After the loan has been updated, lock the rate with the addLockEvent call. The call creates a lockStatusLogic value of "Locked" for the entered priceQuoteId scenario, as well as update options for future use.